package com.czxy.Demo06;

public class Test {
    public static void main(String[] args) {
        show();
    }
    public static void show(){
        int count = 0;
        for (int i = 1; i <= 100 ; i++) {
            if (String.valueOf(i).contains("9")){
                continue;
            }
            else{
                if (count == 5){
                    count = 1;
                    System.out.println();
                    System.out.print(i+"\t");
                }else{
                    System.out.print(i+"\t");
                    count++;
                }

            }
        }
    }

}
